//*******************************************************************************
// Source http://blogs.msdn.com/llobo/archive/2006/12/08/drag-drop-library.aspx *
//*******************************************************************************
using System.Windows;

namespace Bookvar.UI.DragDrop
{
    public interface IDragSourceAdvisor
    {
        UIElement SourceElement { get; set; }

        DragDropEffects SupportedEffects { get; }

        DataObject GetDataObject( UIElement draggedElement, Point offsetPoint );

        void FinishDrag( UIElement draggedElement, DragDropEffects finalEffects );

        bool IsDraggable( UIElement dragElement );

        bool UseOriginalSource{ get;}
    }
}